<template>
  <div class="home">
    <Header />
    <div class="mainBox">
      <div class="navBox">
        <Nav />
      </div>
      <div class="main">
        <div class="title">表格数据</div>
        <div class="mainContetnt">
          <router-view />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "../layout/header.vue";
import Nav from "../layout/nav.vue";
export default {
  components: {
    Header,
    Nav,
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>

<style lang="less" scoped>
.home {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .mainBox {
    flex: 1;
    display: flex;
    .navBox {
      background: #fff;
      height: 100%;
    }
    .main {
      flex: 1;
      border-left: 1px solid #ddd;
      .title {
        height: 50px;
        line-height: 50px;
        padding: 0 15px;
        font-size: 18px;
        background: #fff;
      }
      .mainContetnt {
        padding: 10px;
      }
    }
  }
}
</style>
